home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Amiga Amateur Radio User Group / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip / AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf / DisView / FTPOPT < prev    next >
Text File  |  1995-05-21  |  4KB  |  116 lines

  1. ======                                              DISview [518]
  2. ftpopt
  3. ======
  4.  
  5. _________________________________________________________________
  6. ftpopt ascii
  7. _________________________________________________________________
  8. Set the default file transfer mode to ASCII.  
  9.  
  10. >> Example:  ftpopt ascii
  11.  
  12.  
  13.  
  14. -----------------------------------------------------------------
  15. ftpopt binary
  16. -----------------------------------------------------------------
  17. Set the default file transfer mode to binary.
  18.  
  19. >> Example:  ftpopt binary
  20.  
  21.  
  22.  
  23. -----------------------------------------------------------------
  24. ftpopt hash
  25. -----------------------------------------------------------------
  26. A synonym for the 'ftpopt verbose 3' command.
  27.  
  28. >> Example:  ftpopt hash
  29.  
  30.  
  31.  
  32. -----------------------------------------------------------------
  33. ftpopt pager [on|off]
  34. -----------------------------------------------------------------
  35. Display or set screen display flow control.  When set to 'on', a
  36. -More- prompt is displayed after each screenful of output. Hit 
  37. the spacebar to get the next screenful.
  38.  
  39. >> Example:  ftpopt pager on
  40.  
  41.  
  42.  
  43. -----------------------------------------------------------------
  44. ftpopt type [ascii | binary | logical0 <bytesize>] 
  45. -----------------------------------------------------------------
  46. Sets the default file transfer mode.
  47.  
  48. Type 'ascii' means ASCII (i.e. a text file).  In ASCII mode, 
  49. files are sent as varying length lines of text in ASCII separated
  50. by CR/LF sequences.  The 'ftpopt type ascii' command is the same
  51. as 'ftpopt ascii'.
  52.  
  53. Type 'binary' means image (i.e. binary).  In image mode, files 
  54. are sent exactly as they appear in the file system.  The 
  55. 'ftpopt type binary' command is the same as 'ftpopt binary'.
  56.  
  57. Type 'logical' (logical byte size) is used when exchanging 
  58. binary files with remote servers having oddball word sizes 
  59. (eg. DECSYSTEM-10s and 20s).  Locally it works exactly like 
  60. image, except that it notifies the remote system how large the 
  61. byte size is.  The parameter <bytesize> is typically 8.
  62.  
  63. ASCII mode should be used whenever transferring text between
  64. dissimilar systems (eg. Unix and DOS) because of their different
  65. end-of-line and/or end-of-file conventions.  When exchanging text
  66. files between machines of the same type, either mode will work
  67. but image mode is usually faster.
  68.  
  69. Naturally, when exchanging raw binary files (executables,
  70. compressed archives, etc) image mode must be used.
  71.  
  72. >> Example:  ftpopt type binary
  73.  
  74.  
  75.  
  76. -----------------------------------------------------------------
  77. ftpopt verbose [0 | 1 | 2 | 3]                         Default: 2
  78. -----------------------------------------------------------------
  79. Set or display the level of message output in file transfers.
  80. Verbose 0 gives the least output, and verbose 3 the most, as
  81. follows:
  82.  
  83. 0:  Display error messages only.
  84.  
  85. 1:  Display error messages plus a one-line summary after each
  86.     transfer giving the name of the file, its size, and the
  87.     transfer time and rate.
  88.  
  89. 2:  Display error and summary messages plus the progress messages
  90.     generated by the remote FTP server.
  91.  
  92. 3:  Display all messages. In addition, a "hash mark" (#) is
  93.     displayed for every 1,024 bytes sent or received.  
  94.     'verbose 3' is equivalent to 'ftpopt hash'
  95.  
  96. If a command is sent to the remote server because it is not
  97. recognized locally, the response is always displayed, regardless
  98. of the setting of 'verbose'.  This is necessary for commands like
  99. 'pwd' (display working directory), which would otherwise produce
  100. no message at all if 'verbose' were set to 0 or 1.
  101.  
  102. >> Example:  ftpopt verbose 3
  103.  
  104.  
  105.  
  106. -----------------------------------------------------------------
  107. ftpopt wrap <cols>
  108. -----------------------------------------------------------------
  109. Set the screen wrap to <cols>. Recommended value of <cols> for a 
  110. standard 25-line 80-column ASCII screen is 79.
  111.  
  112. Set <cols> to 0 to turn off screen wrapping.
  113.  
  114. >> Examples:  ftpopt wrap 79
  115.               ftpopt wrap 0
  116.